package org.emet.entity.biz;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.emet.help.CGResource;
import org.emet.jee.console.entity.BaseEntity;

@Entity
@Table(name = "T_VEH_MAINT_LOG")
public class VehicleMaintLog extends BaseEntity {
	private Long vehicleId;
	@CGResource("车牌号")
	private String lpn;
	@CGResource("总费用")
	private BigDecimal totalCharge;
	@CGResource("维修厂")
	private String repairComp;
	@CGResource("日期")
	private Date date;
	@CGResource("备注")
	private String remark;

	public Long getVehicleId() {
		return vehicleId;
	}

	public void setVehicleId(Long vehicleId) {
		this.vehicleId = vehicleId;
	}

	public String getLpn() {
		return lpn;
	}

	public void setLpn(String lpn) {
		this.lpn = lpn;
	}

	public BigDecimal getTotalCharge() {
		return totalCharge;
	}

	public void setTotalCharge(BigDecimal totalCharge) {
		this.totalCharge = totalCharge;
	}

	public String getRepairComp() {
		return repairComp;
	}

	public void setRepairComp(String repairComp) {
		this.repairComp = repairComp;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}
